package com.ck.service;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ck.dao.UserMapper;
import com.ck.entity.User;

import java.util.List;

/**
 * @Classname UserServiceImpl
 * @Description TODO
 * @Date 2021/12/21 18:35
 * @Created by lpc
 */
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService{
    @Override
    public boolean save(User entity) {
        return super.save(entity);
    }

    @Override
    public List<User> getUserList() {
        return baseMapper.selectList(Wrappers.<User>lambdaQuery());
    }

}
